package com.xdtech.base.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.base.model.BaseArea;
import com.xdtech.base.vo.BaseAreaItem;

/**
 * 
 * @author max.zheng
 * @create 2015-06-18 14:06:54
 * @since 1.0
 * @see
 */
public interface BaseAreaService extends IBaseService<BaseArea>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-06-18 14:06:54
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdateBaseArea(BaseAreaItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-06-18 14:06:54
	 * @modified by
	 * @param newId
	 * @return
	 */
	BaseAreaItem loadBaseAreaItem(Long baseAreaId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-06-18 14:06:54
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deleteBaseAreaInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-06-18 14:06:54
	 * @modified by
	 * @param baseAreaIds
	 */
	boolean deleteBaseAreaInfo(List<Long> baseAreaIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-06-18 14:06:54
	 * @modified by
	 * @return
	 */
	List<BaseAreaItem> loadItems();
}
